package com.gdzn.netty.api.service;


import com.gdzn.common.core.domain.R;
import com.gdzn.netty.api.factory.RemotePrepareOrderFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * 远程调用signal服务
 * 
 * @author zdj
 */
@FeignClient(contextId = "remotePrepareOrderService", value = "gdzn-charge-trade", fallbackFactory = RemotePrepareOrderFallbackFactory.class)
public interface RemotePrepareOrderService
{

    /**
     * 生成话单
     * @param msgData
     * @return
     */
    @PostMapping("/inner/prepareOrder/add")
    public R<Boolean> add(@RequestBody String msgData);

}
